<template>
  <div>
    <div v-if="disable" class="button-all body-heavy grey-color">
      <span>{{ buttonName }}</span>
    </div>
    <div v-if="!disable" class="button-all body-heavy yellow-color">
      <span>{{ buttonName }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ButtonCenter',
  props: {
    disable: {type: Boolean, default: () => false},
    buttonName: String,
  },
  data() {
    return {
    };
  },
  mounted: function () {
  },
  methods: {
  },
};
</script>

<style scoped>
.yellow-color{
  background: #fcd538;
  box-shadow: 0 4px 24px rgba(251, 202, 4, 0.32);
}
.grey-color{
  background: #F5F5F5;
}
.button-all {
  height: 48px;
  width: 343px;
  border-radius: 24px;
  position: fixed;
  bottom: 32px;
  margin: 0 16px;
  display: table;
}
.button-all > span{
  display:table-cell;
  text-align:center;
  vertical-align:middle;
}
</style>